package com.warehouse.dao;

import com.warehouse.dao.common.SmartDao;
import com.warehouse.entity.Admin;

import java.util.List;

public interface AdminDao extends SmartDao<Admin> {
        //登录方法
    Admin Login(String phone,String password);
    //模糊查询分页
    List<Admin> byAdminNum(int startPage, int pageSize, String name);
    int countByAdminNum(String name);

}
